<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	
  <head>
    <title>话痨饭_配置程序</title>    
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">  
    	<HTA:APPLICATION
		APPLICATIONNAME="Bugslog Software_SeryFanfou_Config"
		border="normal"
		borderstyle="normal"
		caption="yes"
		icon="ui/senphu.ico"
		maximizebutton="yes"
		minimizebutton="yes"
		showintaskbar="yes"
		singleinstance="yes"
		sysmenu="yes"
		scroll="yes"
		version="2.01_0110601"
		windowState="normal"
		>
		<link rel=stylesheet href="ui/default.css" type="text/css">
		<link rel=stylesheet href="ui/config.css" type="text/css">
    <style>

    	body{
    	background:#fff	
    	
    		
    	}
    	#all{
    		width:100%;
    		height:100%;
    		background:#fff;
    		overflow:auto;
    	}
    	
    </style>  
    <script id="bl" language="javascript" src="bin/bl/core/BugslogCore.dll" ></script>
    <script language="javascript">
    	function init(){    		
    		
				document.getElementById("all").style.display="none";
				createLoading();
					bl.core.setErrorHandler(function(e){
					var position=e.position||"";
					var line=e.line||"";
					var msg=""+e.name+": "+position+"["+line+"] "+e.message+"";

					document.getElementById("loading").innerHTML+="<br />"+msg;
					document.getElementById("loading").style.display="";
					});//实现运行时错误接口
					
					
				    
				$import("bl.fanfou.data.config.Main");
				$run(function(){	
					//请安装数据库!!!						
					main();
					
				});				
			
    	}    	
    	
    	
    	function getLoadingClass(){//询问还有多少类未导入
    		 alert(bl.core.getLoadingClass());
    	}
    
    	
    	function createLoading(){
    		//跳转滚动条
    		document.getElementById("loading").style.display="";
    		document.body.scrollTop=0;
    	}
    	function closeLoading(){
    		document.getElementById("loading").innerHTML="";  
    		document.getElementById("loading").style.display="none";
    	}
    	
    	function main(){//自定义入口
    		bl.fanfou.data.config.Main.init();
    		document.getElementById("all").style.display="";  
    		closeLoading(); 
    	}
    	
    	
    	
    
    	

		
    
    </script>
  </head>  
<body onload="init()">



<div id="all">

<div id="d_log" onmouseout="this.style.display='none'" title="双击清空" ondblcLick="this.innerHTML=''"></div>
<center>
<div id="d_menu" style="font-size:32px"><br />话痨饭_配置<br /><br /><br /></div>
<b>账号配置</b>
<div id="d_list"></div>
<div style="display:none">
<br /><br /><b>更新脚本</b><br />
说明：当需要更新时，请从下载包中拷贝更新脚本复制到这里，并点击<input class=button type=button value=执行更新 />，不过也可以执行批处理文件直接生成新的数据库，但是数据将丢失。
<div id="updateSql"></div>
</div>
</div> 

</center>

<!--内核雏形-->
<div id="loading" ondblclick="closeLoading()" title="双击关闭"><font color="red"><b>&nbsp;&nbsp;&nbsp;Loading...</b>
 	<input type="button" value="?" class="button" onclick="getLoadingClass()" title="查看未导入或者正在导入的类文件" /><br /><br />如果您从未为话痨饭生成过数据库，请先运行下载包里的 createDatabase.bat文件。<br /><br />
 	</div>
 	<div id="buffer" style="display:none"></div>
  </body>
</html>
